﻿@namespace BlazorComponent
@inherits BDomComponentBase

<CascadingValue Value="IsDark" Name="IsDark">
    <Element Tag="@Tag"
             class="@CssProvider.GetClass()"
             style="@CssProvider.GetStyle()"
             for="@For"
             required="@Required"
             ReferenceCaptureAction="element => Ref = element"
             @attributes="@Attributes">
        @ChildContent
    </Element>
</CascadingValue>
